﻿@model Lottery.Models.Home.UserEditModel
@{
    ViewBag.Title = "会员系统 - 新增用户";
    Model.Caption = "新增用户";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<script type="text/javascript">
    $(document).ready(function () {
        $("#btnConfirm").click(function () {
                $('form').submit();
            }
        );
    });
</script>
@using (Html.BeginForm())
{ 
    <div class="system_input_contain">
        <div class="input-text">
            @Html.LabelFor(m => m.Name)
            @Html.TextBoxFor(m => m.Name)
            @Html.ValidationMessageFor(m => m.Name, new { style = "color:Red" })
        </div>
        <div class="input-text">
            @Html.LabelFor(m => m.Password)
            @Html.PasswordFor(m => m.Password)
            @Html.ValidationMessageFor(m => m.Password, new { style = "color:Red" })
        </div>
        <div class="input-text">
            @Html.LabelFor(m => m.ConfirmPassword)
            @Html.PasswordFor(m => m.ConfirmPassword)
            @Html.ValidationMessageFor(m => m.ConfirmPassword, new { style = "color:Red" })
        </div>
        <div class="input-text">
            <input type="button" id="btnConfirm" value="确定" />
        </div>
    </div>
}
